<?xml version="1.0" encoding="utf-8" ?>
<Recipe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  Name="ConfigureProject12"
  xmlns="http://schemas.microsoft.com/pag/gax-core"
  Bound="false">
	<xi:include href="../../../TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
	<Caption>Configure Project</Caption>
	<Description>Configures general settings of the selected project (Version 12).</Description>
	<HostData Priority="2000">
		<Icon File="spsf.ico" />
		<CommandBar Menu="SPSFProjectHelp"/>
		<spsf:MetaData
		  Visible="true"
		  BindingType="CustomizationReference"
		  BindingTypeTemplate="CustomizationReferenceTemplate"
		  Enabled="true"
		  ExcludeFromTests="true"
		  CreateVSTemplate="false"
		  SharePointVersions="12"
      VSTemplate="HIVE"
		  Category="Configuration" xmlns:spsf="http://www.spalmblogger.de">
			<spsf:Authors>
				<spsf:Author>Torsten Mandelkow</spsf:Author>
			</spsf:Authors>
			<spsf:VersionHistory>
				<spsf:VersionHistoryEntry>1.0 Initial Recipe</spsf:VersionHistoryEntry>
			</spsf:VersionHistory>
			<spsf:WebPageContent>
				<![CDATA[Configures the generell settings of the project.]]>
			</spsf:WebPageContent>
		</spsf:MetaData>
	</HostData>
	<Arguments>
		<Argument Name="CurrentProject" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
			<ValueProvider Type="FirstSelectedProject" />
		</Argument>
		<Argument Name="SPSFDeploymentTarget" Required="false">
			<Converter Type="SolutionDeploymentTargetConverter" />
			<ValueProvider Type="ProjectPropertyGroupValueProvider" ConfigValue="SPSFDeploymentTarget" DefaultValue="GlobalAssemblyCache" />
		</Argument>
		<Argument Name="SPSFBranding" >
			<ValueProvider Type="BrandingImageProvider" Logo="\Branding\Logo.jpg" />
		</Argument>		

	</Arguments>
	<GatheringServiceData>
		<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
			<Pages>
				<Page Height="350">
					<Title>WSP settings</Title>
					<Help>Configure wsp solution settings of the project.</Help>
					<Fields>
						<Field Label="Branding" ValueName="SPSFBranding" PanelType="SPALM.SharePointSoftwareFactory.Library.BrandingPanel, SPALM.SharePointSoftwareFactory.Library" />
						<Field ValueName="SPSFDeploymentTarget" Label="DeploymentTarget" />
					</Fields>
				</Page>
			</Pages>
		</Wizard>
	</GatheringServiceData>
	<Actions>

		<Action Name="SetPropertySPSFDeploymentTarget" Type="SetProjectPropertyGroupValue" Parameter="SPSFDeploymentTarget">
			<Input Name="Project" RecipeArgument="CurrentProject" />
			<Input Name="Value" RecipeArgument="SPSFDeploymentTarget" />
		</Action>		

	</Actions>
</Recipe>